package cn.ratopia.core.security.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Value;

/**
 * Token验证处理逻辑
 * @author ratopia
 */
@Slf4j
@Component
public class TokenService {
    @Value("${token.header}")
    private String header;

    @Value("${token.secret}")
    private String secret;

    @Value("${token.expireTime}")
    private int expireTime;

    private static final long MILLIS_SECOND = 1000L;

    private static final long MILLIS_MINUTE = 60 * MILLIS_SECOND;


}
